﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WMS.Domain.Entities.SystemUser
{
    /// <summary>
    /// 身份证管理实体类
    /// </summary>
    public class CardManage
    {
        /// <summary>
        /// 主键ID（自增）
        /// </summary>
        [Key]
        [DatabaseGenerated(DatabaseGeneratedOption.Identity)]
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string UName { get; set; }

        /// <summary>
        /// 身份证号
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string IDCard { get; set; }

        /// <summary>
        /// 正面照片
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string FrontImg { get; set; }

        /// <summary>
        /// 反面照片
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string ReverseImg { get; set; }

        /// <summary>
        /// 审核状态
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string ReviewStatus { get; set; }

        /// <summary>
        /// 审核时间
        /// </summary>
        public DateTime? ReviewTime { get; set; }

        /// <summary>
        /// 是否黑名单
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string Whetherblacklisted { get; set; }
    }
}

